package com.jk.bgmainprovider.controller;

import com.jk.bgmainprovider.entity.AdmEntity;
import com.jk.bgmainprovider.service.AdmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @描述
 * @参数 $
 * @返回值 $
 * @创建人 lgf
 * @创建时间 $
 * @修改人和其它信息
 */
@RestController
@RequestMapping("adm")
public class AdmController {
    @Autowired
    private AdmService admService;

    @GetMapping("login/entity")
    public Object login( AdmEntity adm){
        return admService.login(adm);
    }



}
